{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<div class="tablesWrap">
<!--    <div class="tables-searchbox">
        <form method="post">
            <span class="tbs-txt">企业名称：</span>
            <input type="text" name="company_name" value="{$company_name}">

             <span class="tbs-txt">退押金时间：</span>
             <input type="text" autocomplete="off" class="Wdate" name="start_date" value="{$start_date|date_format:'%Y-%m-%d %H:%M'}"  onclick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm'})">
             <span class="tbs-txt">至</span>
             <input type="text" autocomplete="off" class="Wdate" name="end_date" value="{$end_date|date_format:'%Y-%m-%d %H:%M'}"  onclick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm'})">


            <select name="is_out" class="small">
                <option value="-1" selected="">-押金是否已退-</option>
                <option value="0" {if $is_out == 0 } selected{/if}>否</option>
                <option value="1" {if $is_out == 1 } selected{/if}>是</option>
            </select>

            <select name="is_receipt" class="small">
                <option value="-1" selected="">-收据是否已开-</option>
                <option value="0" >否</option>
                <option value="1" >是</option>
            </select>


            <button type="submit" class="btn"><i class="gicon-search"></i>搜索</button>
        </form>
    </div>-->
<!-- end tables-searchbox -->  
<table class="wxtables">  
    <colgroup>  
    <!--<col width="6%">-->
    <col width="10%">
    <col width="10%">
    <col width="10%">
    <col width="10%">
    <col width="10%">
    <col width="10%">
    <col width="10%">
    <col width="10%">
    </colgroup>
    <thead>
        <tr>
            <!--<td>选择</td>-->
            <td>期次</td>
            <td>交租日期</td>
            <td>本期应交金额</td>
            <td>本期应交逾期租金</td>
            <td>实交金额</td>
            <td>实际交租日期</td>
            <td>是否交清</td>
        </tr>  
    </thead>  
	{foreach from=$rent_list item=this name = list }
    <tbody class="combo-tbody">  
        <tr>
            <!--<td><input type="checkbox" class="checkbox" value="{$item.item_id}" name="checkIds[]"></td>-->
			<td>{$smarty.foreach.list.iteration + $page->firstRow}.</td>
			<td>{$this.rent_time|date_format:"%Y-%m-%d"}</td>
			<td>{$this.payable_money}</td>
			<td>{$this.overdue_money}</td>
			<td>{$this.actual_money}</td>
			<td>{$this.actual_time|date_format:"%Y-%m-%d"}</td>
			<td>{$this.state}</td>
        </tr>
    </tbody>
	{foreachelse}   
    <tbody>    
		<tr>
			<td colspan="7">
				没有符合条件的记录
			</td>
		<tr>
    </tbody>  
	{/foreach}
</table>  
<!-- end wxtables -->  
<div class="tables-btmctrl clearfix">  
    <!--<div class="fl">  -->
        <!--<a href="javascript:;" class="btn btn-blue" onclick="Select()">全选</a>  -->
        <!--<a href="javascript:;" class="btn btn-blue" onclick="Cancel()">取消</a>  -->
        <!--<a href="javascript:;" onclick="batch_delete()" class="btn btn-blue">删除</a>-->
    <!--</div>  -->
    <div class="fr">  
        <div class="paginate">
			{$page_str} 
        </div>  
        <!-- end paginate -->  
    </div>  
</div>  
<!-- end tables-btmctrl -->  
</div>  
<!-- end tablesWrap -->   
{/block} 

{block name="js"}
<script src="/Public/Plugins/My97DatePicker/WdatePicker.js?version={$version}"></script>
<script src="__JS__/clipboard.min.js"></script>
{literal}
<script>
	//全选
	function Select(){
		var sel=document.getElementsByName("a[]");
		for(var i=0;i<sel.length;i++){
			sel[i].checked=true;
		}
	}
	//取消全选
	function Cancel(){
		var sel=document.getElementsByName("a[]");
		for(var i=0;i<sel.length;i++){
			sel[i].checked=false;
		}
	}


</script>
{/literal}
{/block} 

{block name="css"}
<link type="text/css" rel="stylesheet" href="__ACPCSS__/tip.css" />
{literal}
<style>
.PageNext{page-break-after: always; height:1px;}
</style>
{/literal}
{/block} 
